<?php 

namespace Acme\CommonBundle\Form\CustomFieldType;
 
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilder;

class UniversityUserCategoryType extends AbstractType
{
	public function getParent(array $options)
	{
		return 'choice';
	}
	
    private $universityUserCategoryChoices;

    public function __construct(array $universityUserCategoryChoices)
    {
        $this->universityUserCategoryChoices = $universityUserCategoryChoices;
    }

    public function getDefaultOptions(array $options)
    {
        return array(
			'choices' => $this->universityUserCategoryChoices,
        );
    }

    public function getName()
    {
    	return 'university_user_category';
    }
	
}